# -*- coding: utf-8 -*-
"""
author:码同学 极光
date:2024/10/19
desc: 
sample: 
"""
import requests
import urllib3


def test_https():
    urllib3.disable_warnings()  # 忽略错误提醒
    url = "https://www.qlchat.com"  #http  https 都支持也不报错
    headers = {
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36(KHTML, like Gecko) Chro'
    'me/53.0.2785.104 Safari/537.36 Core/1.53.2372.400QQBrowser / 9.5.10548.400'
    }
    requests.get(url=url,headers=headers,verify=True)
